﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="menuList.ascx.cs" Inherits="Com.Web.coffinegurunaru.manager.menu.menuList" %>
<%@ Import Namespace="Com.Library.DB.Menu" %>
<table cellpadding="0" cellspacing="1" border="0" style="background-color:Black">
<tr style="background-color:#eeeeee; height:30px;">
	<td style="width:80px;">번호</td>
	<td style="width:150px;">리스트이미지</td>
	<td style="width:150px;">뷰이미지</td>
	<td style="width:150px;">영문명/한글명</td>
	<td style="width:150px;">설명</td>
	<td style="width:100px;">작성자</td>
	<td style="width:120px;">날짜</td>
	<td style="width:135px;">-</td>
</tr>
<%foreach (MenuEntity item in MenuList) {%>

<tr class="m_MenuInfo_<%=item.SeqNo %>" data="{'SeqNo':'<%=item.SeqNo%>'}">
	<td rowspan="2" style="width:80px;background-color:White;"><%=item.SeqNo%></td>
	<td rowspan="2" style="background-color:White; width:150px;"><img src="<%=item.SmallImageURL %>" width="150"  /></td>
	<td rowspan="2" style="background-color:White; width:150px;"><img src="<%=item.ViewImageURL %>" width="150"  /></td>
	<td style="width:150px;background-color:White;"><%=item.EngName %></td>
	<td style="width:150px;background-color:White; text-align:center;" rowspan="2"><%=item.Description.Replace("\n", "<br />") %></td>
	<td style="width:100px;background-color:White; text-align:center;" rowspan="2"><%=item.ManagerName %></td>
	<td rowspan="2" style="width:120px;background-color:White; text-align:center;"><%=item.CreateDate.ToString("yyyy-MM-dd") %></td>
	<td rowspan="2" style="width:135px;background-color:White; text-align:center;"><input type="button" class="m_BtTop" value="맨위로" /><br /><br /><input type="button" class="m_BtModify" value="수정" />&nbsp;&nbsp;<input type="button" class="m_BtRemove" value="삭제" /></td>
</tr>
<tr class="m_MenuInfo_<%=item.SeqNo %>"><td style="background-color:White;"><%=item.KorName %></td></tr>


<tr class="m_MenuInput_<%=item.SeqNo %>" style="display:none;" data="{'SeqNo':'<%=item.SeqNo%>'}">
	<td rowspan="2" style="width:80px;background-color:White;"><%=item.SeqNo%></td>
	<td rowspan="2" style="background-color:White;"><input type="text" readonly="readonly" class="m_SmallImage" value="<%=item.SmallImageURL %>" /><br /><input type="button" class="m_btnSmallImage" value="이미지선택" /></td>
	<td rowspan="2" style="background-color:White;"><input type="text" readonly="readonly" class="m_ViewImage" value="<%=item.ViewImageURL %>" /><br /><input type="button" class="m_btnViewImage" value="이미지선택" /></td>
	<td style="width:150px;background-color:White; text-align:left;">&nbsp;<input type="text" class="m_EngName" value="<%=item.EngName %>" style="width:130px;" /></td>

	<td style="width:150px;background-color:White; text-align:center;" rowspan="2"><textarea cols="22" rows="6" class="m_Desc" ><%=item.Description %></textarea></td>	
	<td style="width:100px;background-color:White; text-align:center;" rowspan="2"><%=item.ManagerName %></td>
	<td rowspan="2" style="width:120px;background-color:White; text-align:center;"><%=item.CreateDate.ToString("yyyy-MM-dd") %></td>
	<td rowspan="2" style="width:135px;background-color:White; text-align:center;"><input type="button" class="m_BtModifyConfirm" value="확인" />&nbsp;&nbsp;<input type="button" class="m_BtModifyCancel" value="취소" /></td>
</tr>
<tr class="m_MenuInput_<%=item.SeqNo %>" style="display:none;"><td style="background-color:White; text-align:left;">&nbsp;<input type="text" class="m_KorName" style="width:130px;" value="<%=item.KorName %>" /></td></tr>
<% } %>

</table>

